<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div class="lefter">
    <div class="box">
        <h2>商品分类</h2>
        <dl>
            <c:forEach items="${sessionScope.PRODUCT_CATEGORY_IN_SESSION}" var="productCategorParent">
                <dt>${productCategorParent.name}</dt>
                <c:forEach items="${productCategorParent.productCategoryChildren}" var="productCategoryChildren">
                    <dd>
                        <a href="/product/category?pcChildId=${productCategoryChildren.id}">${productCategoryChildren.name}</a>
                    </dd>
                </c:forEach>
            </c:forEach>
        </dl>
    </div>

    <div class="spacer"></div>
    <div class="last-view">
        <h2>最近浏览</h2>
        <dl class="clearfix">
            <dt><img src="/images/product/0_tiny.gif"/></dt>
            <dd><a href="product-view.html">法国德菲丝松露精品巧克力500g/盒</a></dd>
            <dt><img src="/images/product/0_tiny.gif"/></dt>
            <dd><a href="product-view.html">法国德菲丝松露精品巧克力500g/盒</a></dd>
        </dl>
    </div>
</div>
